/**  
 * Project Name:api-webhook  
 * File Name:MobileVoiceCall.java  
 * Package Name:com.example.service.webhook.business.carrier.dto  
 * Date:2016年7月25日下午5:24:57  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.taobao.entity;

import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**  
 * MobileVoiceCallEntity <br/>  
 * Function:通话记录数据库实体类 <br/>  
 * Reason:   TODO ADD REASON. <br/>  
 * Date:     2016年7月25日 下午5:24:57 <br/>  
 * @author   yuandong  
 * @version    
 * @since    JDK 1.6
 * Modified by liyang on 20171019 接口升级
 * @see        
 */
@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class UserInfoEntity implements Saveable{
	
	private long id;
	private String userId;
	private String mappingId;
	private String nick;
	private String realName;
	private String phoneNumber;
	private String email;
	private int vipLevel;
	private int  vipCount;
	private String weiboAccount;
	private String weiboNick;
	private String pic;
	private String alipayAccount;
    private Date createTime;
    private Date lastModifyTime;

	/**
	 * 天猫等级（存在为空的情况，客户未开通天猫） T1，T2，T3
	 * 说明：20171019接口升级，新增字段
	 */
	private String tmallLevel;

	/**
	 * 天猫VIP值（存在为空的情况，客户未开通天猫）
	 * 说明：20171019接口升级，新增字段
	 */
	private Integer tmallVipcount;

	/**
	 * 天猫信誉 中等、良好、极好 等
	 * 说明：20171019接口升级，新增字段
	 */
	private String tmallApass;

	/**
	 * 最早一笔订单交易时间 格式为yyyy-MM-dd HH:mm:ss
	 * 说明：20171019接口升级，新增字段
	 */
	private String firstOrdertime;

	private String taobaoUserid;

	private String taoScore;

	private Date registerTime;

	private String accountAuth;

    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_taobao_userinfo";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getMappingId() {
		return mappingId;
	}

	public void setMappingId(String mappingId) {
		this.mappingId = mappingId;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getVipLevel() {
		return vipLevel;
	}

	public void setVipLevel(int vipLevel) {
		this.vipLevel = vipLevel;
	}

	public int getVipCount() {
		return vipCount;
	}

	public void setVipCount(int vipCount) {
		this.vipCount = vipCount;
	}

	public String getWeiboAccount() {
		return weiboAccount;
	}

	public void setWeiboAccount(String weiboAccount) {
		this.weiboAccount = weiboAccount;
	}

	public String getWeiboNick() {
		return weiboNick;
	}

	public void setWeiboNick(String weiboNick) {
		this.weiboNick = weiboNick;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getAlipayAccount() {
		return alipayAccount;
	}

	public void setAlipayAccount(String alipayAccount) {
		this.alipayAccount = alipayAccount;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}


	public String getTmallLevel() {
		return tmallLevel;
	}

	public void setTmallLevel(String tmallLevel) {
		this.tmallLevel = tmallLevel;
	}

	public Integer getTmallVipcount() {
		return tmallVipcount;
	}

	public void setTmallVipcount(Integer tmallVipcount) {
		this.tmallVipcount = tmallVipcount;
	}

	public String getTmallApass() {
		return tmallApass;
	}

	public void setTmallApass(String tmallApass) {
		this.tmallApass = tmallApass;
	}

	public String getFirstOrdertime() {
		return firstOrdertime;
	}

	public void setFirstOrdertime(String firstOrdertime) {
		this.firstOrdertime = firstOrdertime;
	}

	public String getTaobaoUserid() {
		return taobaoUserid;
	}

	public void setTaobaoUserid(String taobaoUserid) {
		this.taobaoUserid = taobaoUserid;
	}

	public String getTaoScore() {
		return taoScore;
	}

	public void setTaoScore(String taoScore) {
		this.taoScore = taoScore;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public String getAccountAuth() {
		return accountAuth;
	}

	public void setAccountAuth(String accountAuth) {
		this.accountAuth = accountAuth;
	}
}
  
